<body class=""> 
  <!--<![endif]-->
  	<p style="width:0%;border:2px solid pink;margin:0px;position:absolute;top:0px;left:0px;z-index:100000" id="loadIngCent"></p>
    <div class="navbar">
        <div class="navbar-inner">
                <ul class="nav pull-right">
                    <li><a href="#" class="hidden-phone visible-tablet visible-desktop ifrm" data-url="/sysmsg/showlogs" data-width="900" data-height="650" data-title="系统日志" data-params="" role="button">系统日志</a></li>
                    <li id="fat-menu" class="dropdown">
                        <a href="#" role="button" class="dropdown-toggle" data-toggle="dropdown">
                            <i class="icon-user"></i> <?=getLoginMsg()->username?>
                            <i class="icon-caret-down"></i>
                        </a>
                        <ul class="dropdown-menu">
                            <li><a tabindex="-1" href="javascript:void(0)" id="myaccount" class="ifrm" data-url="/user/usercenter" data-width="450" data-height="450" data-title="我的账户" data-params="">我的账户</a></li>
                            <li><a tabindex="-1" class="visible-phone" href="#">系统设置</a></li>
                            <li class="divider"></li>
                            <li><a tabindex="-1"  href="/user/regist" >新开帐号</a></li>
                            <li class="divider"></li>
                            <li><a tabindex="-1" href="/user/loginout">注销</a></li>
                        </ul>
                    </li>
                </ul>
                <a class="brand" href=""><span class="second">分销商城系统</span></a>
        </div>
    </div>
    <script>loadCent('20%',100);</script>
    <div class="sidebar-nav">
		<?php
			$_current_c = explode('-',I('get.res') ?: '0-1');
			$_icon_tags = C('icons');
			foreach($menus AS $k=>$val){
				foreach($val AS $key=>$value){
					if(!$key){
		?>
		<a href="#accounts-menu-<?=$k?>" class="nav-header <?=$_current_c[0]==$k ? '' : 'collapsed'?>" data-toggle="collapse"><i class="<?=$_icon_tags[$k]?>"></i><?=$value['tip']?><i class="icon-chevron-up"></i></a>
		<ul id="accounts-menu-<?=$k?>"  class="nav nav-list <?=$_current_c[0]==$k ? 'in' : ''?> collapse">
        <?php }else{ ?>
            <li <?php echo $key==$_current_c[1] && $k==$_current_c[0] ? 'class="active"' : '';?>><a href="<?=$value['link'].'?res='.$k.'-'.$key?>"><?=$value['tip']?></a></li>
		<?php }}?>
		</ul>
		<?php }?>
    </div>
    <script>loadCent('30%',100);</script>
    <div class="content">
        <div class="header">
        	<!-- 
			<div class="stats">
				<p class="stat"><span class="number"><?=session('tj_life_regist')?></span>今日注册数</p>
				<p class="stat"><span class="number"><?=session('tj_life_port')?></span>今日订单数</p>
			</div> -->
			<!--<h1 class="page-title"><?=C('menus')[$_current_c[0]][$_current_c[1]]['tip']?></h1> -->
        </div>
			<ul class="breadcrumb">
				<li><a href="<?=C('menus')[$_current_c[0]][0]['link']?>"><?=C('menus')[$_current_c[0]][0]['tip']?></a> <span class="divider">/</span></li>
				<li class="active"><?=C('menus')[$_current_c[0]][$_current_c[1]]['tip']?></li>
			</ul>
        <div class="container-fluid">
            <div class="row-fluid">
            <script>loadCent('60%',100);</script>